package com.hckjsec.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 固定资产对象 sys_fixed_assets
 * 
 * @author cyt
 * @date 2021-10-12
 */
public class SysFixedAssets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long fixedId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 编号 */
    @Excel(name = "编号")
    private String number;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 购买时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购买时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date purchaseTime;

    /** 购买金额 */
    @Excel(name = "购买金额")
    private Long price;

    /** 使用人 */
    @Excel(name = "使用人")
    private String receiver;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    public void setFixedId(Long fixedId) 
    {
        this.fixedId = fixedId;
    }

    public Long getFixedId() 
    {
        return fixedId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPurchaseTime(Date purchaseTime) 
    {
        this.purchaseTime = purchaseTime;
    }

    public Date getPurchaseTime() 
    {
        return purchaseTime;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setReceiver(String receiver) 
    {
        this.receiver = receiver;
    }

    public String getReceiver() 
    {
        return receiver;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("fixedId", getFixedId())
            .append("deptId", getDeptId())
            .append("model", getModel())
            .append("number", getNumber())
            .append("name", getName())
            .append("purchaseTime", getPurchaseTime())
            .append("price", getPrice())
            .append("receiver", getReceiver())
            .append("remarks", getRemarks())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
